class TencentGeoEntity {
	List<TencentGeoLocation> locations;
	String message;
	int status;

	TencentGeoEntity({this.locations, this.message, this.status});

	TencentGeoEntity.fromJson(Map<String, dynamic> json) {
		if (json['locations'] != null) {
			locations = new List<TencentGeoLocation>();(json['locations'] as List).forEach((v) { locations.add(new TencentGeoLocation.fromJson(v)); });
		}
		message = json['message'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.locations != null) {
      data['locations'] =  this.locations.map((v) => v.toJson()).toList();
    }
		data['message'] = this.message;
		data['status'] = this.status;
		return data;
	}
}

class TencentGeoLocation {
	double lng;
	double lat;

	TencentGeoLocation({this.lng, this.lat});

	TencentGeoLocation.fromJson(Map<String, dynamic> json) {
		lng = json['lng'];
		lat = json['lat'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['lng'] = this.lng;
		data['lat'] = this.lat;
		return data;
	}
}
